<?php
class SystemModule extends CWebModule
{
	function init()
	{
		$this->layout = "main";
		
		$this->setImport(array(
			"system.models.*"
		));
		
		// this method is called when the module is being created
		// you may place code here to customize the module or the application
		//$assetsDirectory = Yii::app()->assetManager->publish(Yii::getPathOfAlias('system.assets'));
		//Yii::app()->clientScript->registerCssFile($assetsDirectory . '/css/system.css');
		
		//$assetsDirectory = Yii::app()->assetManager->publish($this->getBasePath());
		//Yii::app()->clientScript->registerCssFile($assetsDirectory . '/css/system.css');
		//echo $this->getBasePath();
		//echo Yii::app()->assetManager->publish($this->getBasePath());
		
		//echo Yii::app()->getLanguage();
	}
	
	function preinit()
	{
		//echo "asdas";
	}
}